package com.hjl.jdbc.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ServivE
 * @version 0.1
 * @className Emp
 * @description
 * @date 2024/8/7 14:31
 * @since jdk11
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Emp implements Serializable {
    private Integer eid;
    private String ename;
    private String esex;
    private Date hiredate;
    private String sal;


    @Override
    public String toString() {
        return "Emp{" +
                "eid=" + eid +
                ", ename='" + ename + '\'' +
                ", esex='" + esex + '\'' +
                ", hiredate=" + hiredate +
                ", sal='" + sal + '\'' +
                '}';
    }
}
